<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
    <meta name="author" content="pan_junbiao的博客">
</head>
<body>
<h1 style="color: red">Hello,Spring Security</h1>
<p>博客信息：您好，欢迎访问 pan_junbiao的博客</p>
<p>博客地址：https://blog.csdn.net/pan_junbiao</p>
<p th:text="'当前登录人：' + ${userName}"></p>
<a href="/logout" rel="external nofollow"  onclick="return confirm('确认注销吗？');">登出</a>
</body>
</html>